spinner: Convert docs
authorMatthias Clasen <mclasen@redhat.com>
Fri, 19 Feb 2021 20:06:16 +0000 (15:06 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:30 +0000 (16:37 +0000)
Change link syntax and add an example image.

gtk/gtkspinner.c

index 3784da40edbfd4cf0dfb794170c0704364d2db91..3801bfd85240b4a027b5040340007ae15db2f366 100644 (file)
  * @See_also: #GtkCellRendererSpinner, #GtkProgressBar
  *
  * A GtkSpinner widget displays an icon-size spinning animation.
- * It is often used as an alternative to a #GtkProgressBar for
+ * It is often used as an alternative to a [class@Gtk.ProgressBar] for
  * displaying indefinite activity, instead of actual progress.
  *
- * To start the animation, use gtk_spinner_start(), to stop it
- * use gtk_spinner_stop().
+ * ![An example GtkSpinner](spinner.png)
+ *
+ * To start the animation, use [method@Gtk.Spinner.start], to stop it
+ * use [method@Gtk.Spinner.stop].
  *
  * # CSS nodes
  *
- * GtkSpinner has a single CSS node with the name spinner.
+ * `GtkSpinner` has a single CSS node with the name spinner.
  * When the animation is active, the :checked pseudoclass is
  * added to this node.
  */